Hybrid Blockchain-Enabled Security in Cloud Storage Infrastructure …

165

Fig. 24 The generation time for hash when the size of file is 30 MB

Fig. 25 The number of blocks in file size 30 MB difference depending on the size of each block

KB

The increase in the size of the block means to decrease in the number of blocks

representing the file and vice versa (inverse proportion).

Also, the increase in the size of the block (the size of the part to which the file was

divided) means more time required to generate a hash and vice versa (proportional

proportionality) and as we know the increased time of hash generation will effect on

the performance.

Based on the focus on the two central issues (security and performance), and as

a result of experimenting with several file sizes, it was concluded that the best block

size is the file size divided by two, and at this block size, the number of blocks is the

lowest possible, and the generation time of Hash is the least possible, and thus the

required has been reached.

For example: If the size of the file is 30 MB, so the best size of the block is 15 MB,

30 MB × 1024 = 30,720 KB. So, the best size of block = 30,720 / 2 = 15,360 =

15 MB, the same thing we have noticed in the experiment.